package com.hvgroup.modules.sanic.domain.po;

import com.hvgroup.base.BaseEntity;
import com.hvgroup.modules.system.domain.User;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Getter
@Setter
@Entity
@Table(name = "user_permission")
public class UserPermission extends BaseEntity implements Serializable {

    @Id
    @Column(name = "user_id", nullable = false)
    private Long userId;

    @Column(name = "apss_rule")
    private String apssRule;

    @Column(name = "datasets_rule")
    private String datasetsRule;

    @Column(name = "llm_type")
    private Integer llmType;
}
